LAST v1.01 - copy last n lines

Revised 3-Apr-96. Copyright (c) 1996 by Rune Berg. TextTools Freeware.

Usage - Description - Options


USAGE

last [log logfile] [option] n [infile] [to outfile]


DESCRIPTION

last copies the last n lines of infile to outfile.

If infile has n or fewer lines, then last copies all of infile.

n must be in the range 0 .. 9999.

If you don't specify infile, last reads from standard input.
If you don't specify outfile, last writes to standard output.
If you don't specify logfile, last writes error messages to standard error.


OPTIONS

-v : Print version banner and usage info to standard error (or logfile, if given), then exit.


End of document